export default {
    mounted() {
        this.getEchartData();
        window.addEventListener("resize", this.chartResize());
    },

    beforeDestroy() {
        window.removeEventListener("resize", this.chartResize());
    },


    methods: {
        chartResize() {
            this.myChart.resize();
        },
    }
}